package com.xlongwei.info.store;

import java.util.Collection;

import com.xlongwei.info.model.Info;
import com.xlongwei.info.model.User;

public interface Store {
	User user(String username);

	void save(User user);
	
	Collection<User> users();

	boolean save(Info info);

	Collection<Info> infos();

	Info delete(String username);
	
	Info info(String username);

	default void backup(Info info) {
	};
}
